import sys
import logging
import re
import shelve
import openpyxl
#import pyExcelerator

from PyQt5 import QtWidgets
from PyQt5 import QtCore

from ui_main_window import Ui_MainWindow

class MyMainWindow(QtWidgets.QMainWindow, Ui_MainWindow):

    def __init__(self, parent=None):
        super(__class__, self).__init__(parent)
        self.setupUi(self)

    # 私有方法
    def __initUi(self):
        pass

if __name__ == "__main__":
    #wb = openpyxl.Workbook()

    # Save the file
    #wb.save("sample.xlsx")

    app = QtWidgets.QApplication(sys.argv)
    win = MyMainWindow()
    win.show()
    sys.exit(app.exec_())
